#pragma once
#include "Character.h"
#include "Sprite.h"
#include "Utils.h"
#include "GlobalVariables.h"
#include "ListBullet.h"




class CEnemyRed : public  CCharacter
{
protected:

	D3DXVECTOR2 _ContraPosition;
	DWORD _frame_Start_Red;
	DWORD _tick_Per_Frame;
	DWORD _now;

	int _current_Sprite;
	int _ShootCount;
	bool _IsShootable;
	static int _GunXPosition[10];
	static int _GunYPosition[10];
	static double _ShootAngle[10];

	CSprite * _EnemyRed;
	CListBullet *_ListBullet;


public:
	CEnemyRed();
	void LoadResource();
	void Update(D3DXVECTOR2 ContraPositon);
	void Render(D3DXVECTOR2 ContraPositon);
	Box GetBox();
	~CEnemyRed();
};

